.collect-page {
  padding: 16px;
}
.top-action .query-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,174,0,0.15);
}
.range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash { color: #9ca3af; }
.btn {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
}
.btn.ghost { background: transparent; }
.btn.primary { background: var(--primary); color: #fff; border-color: transparent; }
.btn.warn { background: #f59e0b; color: #fff; border-color: transparent; }
.btn.danger { background: #ef4444; color: #fff; border-color: transparent; }
.btn.info { background: #06b6d4; color: #fff; border-color: transparent; }
.btn.small { height: 30px; padding: 0 10px; font-size: 13px; }

.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 1000px; }
.table th, .table td { border-bottom: 1px solid #e5e7eb; padding: 10px; text-align: left; }
.table th.actions, .table td.actions { text-align: right; white-space: nowrap; }
.empty { text-align: center; color: #6b7280; padding: 16px; }
.ellipsis { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr { width: 100px; height: 100px; object-fit: contain; border-radius: 8px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.tag.success { background: #dcfce7; color: #166534; }
.tag.danger { background: #fee2e2; color: #7f1d1d; }

/* Modal */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal { width: min(1100px, 92vw); background: #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); overflow: hidden; }
.modal-header { padding: 12px 16px; font-weight: 600; border-bottom: 1px solid #f3f4f6; }
.modal-body { padding: 12px 16px; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid #f3f4f6; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 12px 16px; }
.album-item img { width: 100%; height: 160px; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.pagination { display: flex; align-items: center; gap: 8px; }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.form-row.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row label { font-size: 13px; color: #374151; }